package wujinye.com.model;

import wujinye.com.annotation.MyField;
import wujinye.com.annotation.Table;

@Table(value = "favorite")
public class Favorite {
    /**
     * id
     */
    private Integer id;

    /**
     * 收藏用户id
     */
    @MyField("u_id")
    private Integer uId;

    /**
     * 文章id
     */
    @MyField("a_id")
    private Integer aId;


    public Favorite() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUId() {
        return uId;
    }

    public void setUId(Integer uId) {
        this.uId = uId;
    }

    public Integer getAId() {
        return aId;
    }

    public void setAId(Integer aId) {
        this.aId = aId;
    }

}
